home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C25 / TrashStatics.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-25  |  486 b   |  19 lines

  1. //: C25:TrashStatics.cpp {O}
  2. // From Thinking in C++, 2nd Edition
  3. // Available at http://www.BruceEckel.com
  4. // (c) Bruce Eckel 1999
  5. // Copyright notice in Copyright.txt
  6. // Contains the static definitions for 
  7. // the Trash type's "val" data members
  8. #include "Trash.h"
  9. #include "Aluminum.h"
  10. #include "Paper.h"
  11. #include "Glass.h"
  12. #include "Cardboard.h"
  13.  
  14. double Aluminum::val = 1.67;
  15. double Paper::val = 0.10;
  16. double Glass::val = 0.23;
  17. double Cardboard::val = 0.14;
  18. ///:~
  19.